//
//  TJ.h
//  Chart
//
//  Created by CaoJun on 14-9-2.
//
//

#ifndef __Chart__TJ__
#define __Chart__TJ__

#include "IndexData.h"

#include <vector>

namespace ytx
{
    class TJ : public IndexData
    {
    public:
        std::vector<std::vector<double> > originLineData;


        TJ(IndexConfig indexConfig);

        virtual ~TJ();

        virtual void calculate(Quotation * data);

        virtual void updateLastest(Quotation * data);

        std::vector<std::vector<double> > getOriginLineData();

        void setOriginLineData(std::vector<std::vector<double> > originLineData);

        virtual int getDataLength() const;

    };
}


#endif /* defined(__Chart__TJ__) */
